package com.origin.src.datasource.sharding.algorithm;

import java.util.zip.Adler32;
import java.util.zip.Checksum;

public class Adler32ChecksumModShardingAlgorithm extends ChecksumModShardingAlgorithm {

    /**
     * Get auto tables amount.
     *
     * @return the auto tables amount
     */
    @Override
    public Checksum getChecksum() {
        return new Adler32();
    }

    @Override
    public String getType() {
        return "ADLER32_MOD";
    }
}
